package com.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.lang.reflect.InvocationTargetException;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.beanutils.BeanUtils;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.FieldFill;
import com.baomidou.mybatisplus.enums.IdType;


/**
 * 教师著作
 * 数据库通用操作实体类（普通增删改查）
 * @author 
 * @email 
 * @date 2022-04-23 15:35:21
 */
@TableName("jiaoshizhuzuo")
public class JiaoshizhuzuoEntity<T> implements Serializable {
	private static final long serialVersionUID = 1L;


	public JiaoshizhuzuoEntity() {
		
	}
	
	public JiaoshizhuzuoEntity(T t) {
		try {
			BeanUtils.copyProperties(this, t);
		} catch (IllegalAccessException | InvocationTargetException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	
	/**
	 * 主键id
	 */
	@TableId
	private Long id;
	/**
	 * 著作编号
	 */
					
	private String zhuzuobianhao;
	
	/**
	 * 著作名称
	 */
					
	private String zhuzuomingcheng;
	
	/**
	 * 教师工号
	 */
					
	private String jiaoshigonghao;
	
	/**
	 * 教师姓名
	 */
					
	private String jiaoshixingming;
	
	/**
	 * 著作类型
	 */
					
	private String zhuzuoleixing;
	
	/**
	 * 简介
	 */
					
	private String jianjie;
	
	/**
	 * 发表日期
	 */
				
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
	@DateTimeFormat 		
	private Date fabiaoriqi;
	
	/**
	 * 附件
	 */
					
	private String fujian;
	
	
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat
	private Date addtime;

	public Date getAddtime() {
		return addtime;
	}
	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 设置：著作编号
	 */
	public void setZhuzuobianhao(String zhuzuobianhao) {
		this.zhuzuobianhao = zhuzuobianhao;
	}
	/**
	 * 获取：著作编号
	 */
	public String getZhuzuobianhao() {
		return zhuzuobianhao;
	}
	/**
	 * 设置：著作名称
	 */
	public void setZhuzuomingcheng(String zhuzuomingcheng) {
		this.zhuzuomingcheng = zhuzuomingcheng;
	}
	/**
	 * 获取：著作名称
	 */
	public String getZhuzuomingcheng() {
		return zhuzuomingcheng;
	}
	/**
	 * 设置：教师工号
	 */
	public void setJiaoshigonghao(String jiaoshigonghao) {
		this.jiaoshigonghao = jiaoshigonghao;
	}
	/**
	 * 获取：教师工号
	 */
	public String getJiaoshigonghao() {
		return jiaoshigonghao;
	}
	/**
	 * 设置：教师姓名
	 */
	public void setJiaoshixingming(String jiaoshixingming) {
		this.jiaoshixingming = jiaoshixingming;
	}
	/**
	 * 获取：教师姓名
	 */
	public String getJiaoshixingming() {
		return jiaoshixingming;
	}
	/**
	 * 设置：著作类型
	 */
	public void setZhuzuoleixing(String zhuzuoleixing) {
		this.zhuzuoleixing = zhuzuoleixing;
	}
	/**
	 * 获取：著作类型
	 */
	public String getZhuzuoleixing() {
		return zhuzuoleixing;
	}
	/**
	 * 设置：简介
	 */
	public void setJianjie(String jianjie) {
		this.jianjie = jianjie;
	}
	/**
	 * 获取：简介
	 */
	public String getJianjie() {
		return jianjie;
	}
	/**
	 * 设置：发表日期
	 */
	public void setFabiaoriqi(Date fabiaoriqi) {
		this.fabiaoriqi = fabiaoriqi;
	}
	/**
	 * 获取：发表日期
	 */
	public Date getFabiaoriqi() {
		return fabiaoriqi;
	}
	/**
	 * 设置：附件
	 */
	public void setFujian(String fujian) {
		this.fujian = fujian;
	}
	/**
	 * 获取：附件
	 */
	public String getFujian() {
		return fujian;
	}

}
